<?php

use Laoha\Blog\Http\Controllers\BlogController;

Route::get('blog', BlogController::class.'@index');

Route::group([
    'prefix'        => config('admin.route.prefix'),
	'as'			=> 'admin.',
    'middleware'    => config('admin.route.middleware'),
], function (Router $router) {
	$router->resource('blog', BlogController::class.'@index')->names('apps.blog');
});